﻿// 1.1.2.06. Declare a boolean variable called isMale and assign an appropriate value corresponding to your gender.

using System;

class DeclaringBoolVariable
{
    static void Main()
    {
        while (true)    // easier answer checking
        {
            Console.Write("Please answer the question with \"y\" or \"n\", \"Are you a male\": ");
            char answer = char.Parse(Console.ReadLine());   // user's answer
            char female = 'n';  // The question is Are you a male so the answer 'n' means the female gender
            bool isMale = answer > female;  // the char 'y' has higher position than 'n' in the ASCI table
            bool isFemale = answer == female;
            Console.WriteLine("You have prostate and Adam's apple: {0}", isMale);
            Console.WriteLine("And you are tenderly beautiful being: {0}", isFemale);
        }
    }
}